<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset="utf-8">
<title>服务端任务管理管理 </title>
<@fm.header />
<link rel="stylesheet" type="text/css" href="/resources/css/uploadify/uploadify.css">
<script type="text/javascript" src="/resources/js/common.js"></script>
<script type="text/javascript" src="/resources/js/serverBizTask/serverBizTask.js"></script>
</head>
<body class="cmp-list-body">
<div id="tb" style="padding:3px">
    <a href="#" class="easyui-linkbutton" iconCls="icon-add" plain="true" onclick="doEdit();">调整</a>
    <a href="#" class="easyui-linkbutton" iconCls="icon-add" plain="true" onclick="doStatus(1);">启动</a>
    <a href="#" class="easyui-linkbutton" iconCls="icon-add" plain="true" onclick="doStatus(0);">暂停</a>
</div>
<table id="tt" title="服务端任务管理管理 " 
	 toolbar="#tb" rownumbers="true" idField="id"
	singleSelect="true"   pagination="true" fitColumns="true" pageSize="15" pageList="[15,30,60,80,100]">  
    <thead>
        <tr>
            <th align="center" width="10%" field="itemKey">key</th>
		    <th align="center" width="30%" field="itemName">名称</th>
		    <th align="center" width="10%" field="totalNum">总任务量</th>
            <th align="center" width="10%" field="hasDoNum">已做任务数</th>
		    <th align="center" width="10%" field="collectNum">采集数量</th>
		    <th align="center" width="10%" field="speed">每分钟做任务数</th>
		    <th align="center" width="10%" field="status" formatter="statusFormatter">状态</th>
		    <th align="center" width="10%" field="modifyTime">修改时间</th>
        </tr>
    </thead>   
</table>

<div id="addWin" class="easyui-window" title="服务端任务管理管理|修改" closed="true" collapsible="false" minimizable="false"  maximizable="false" style="width:300px;height:180px"   
        data-options="iconCls:'icon-save',modal:true">
     <div fit="true">
        <form id="addForm"  method="post" >
            <input type="hidden" id="idId"  name="id" />   
           <table>
               <tr>
	               <td align="left">总任务数</td>
	               <td>
	                      <input class="easyui-textbox" type="text" name="totalNum" id="totalNumId"/>
	               </td>
	           </tr>
	           <tr>
	               <td align="left">每分钟任务数</td>
	               <td>
	                   <input class="easyui-textbox" type="text" name="speed" id="speedId"/>
	               </td>
	           </tr>
           </table>
        </form>
        <div style="padding: 25px; text-align: center;">
            <a href="#" class="easyui-linkbutton" onclick="cancel();">取消</a>
            <a href="#" class="easyui-linkbutton"  onclick="save();">上传</a> 
        </div>
    </div>
</div>

</body>
</html>